import * as React from 'react'
import { Input } from 'antd'

export interface Props {
    value?: string
    onChange?: (value?: string) => void
}
export default (props: Props) => {
    return <Input value={props.value} onChange={e => props.onChange(e.target.value)}/>
}